<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>销售统计</title>
    <script type="text/javascript" src="{$smarty.const.__PUBLIC_JS__}/jquery-3.1.1.js"></script>
    <script type="text/javascript" src="{$smarty.const.__PUBLIC_JS__}/echarts.js"></script>

</head>
<body>

<div>请选择查看类型
    <select id="type" name="type" onchange='graph()'>
        <option value="day">按天统计</option>
        <option value="week">按周统计</option>
        <option value="month" selected="selected">按月统计</option>
    </select>
</div>

<!-- 为图表设置具备（宽高）的Dom -->
<div id="main" style="width: 1000px;height:400px;"></div>


<script type="text/javascript" src="{$smarty.const.__PUBLIC_JS__}/DataStatistics_Sales.js"></script>
</body>
</html>